#include <GameState.h>
#include <TryneEngine.h>
#include <Sprite.h>

// Game State to use on the engine
class TestState : public GameState{
private:
	Sprite sprite; // Test sprite

public:
	TestState();
	~TestState() {};

	void OnRender();
}

TestState::TestState(){
	// Load and set the image for the sprite
	sprite.SetImg(getImageManager()->LoadImg("img.png"));
}

void TestState::OnRender(){
	// Render the sprite
	sprite.Render();
}

int main(int argc, char* argv[]){
	// Instance of the TryneEngine
	TryneEngine engine;
	TestState state;

	engine.Execute(&state);

	return 0;
}
